package com.example.springboot01.test;

import org.springframework.stereotype.Component;

/**
 * TODO
 *
 * @author chenke
 * @version 1.0
 * @date 2022/7/27 9:41
 */
@Component
public class BeanTestIoc {

    private final BeanTestIoc2 beanTestIoc2;

    public BeanTestIoc(BeanTestIoc2 beanTestIoc2) {
        this.beanTestIoc2 = beanTestIoc2;
    }

    public void test1() {

    }

    @Override
    public String toString() {
        return "BeanTestIoc{" +
                "beanTestIoc2=" + beanTestIoc2 +
                '}';
    }
}
